/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package data;

import java.util.Date;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Log</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link data.DataLog#getStartTime <em>Start Time</em>}</li>
 *   <li>{@link data.DataLog#getDataSamples <em>Data Samples</em>}</li>
 *   <li>{@link data.DataLog#getDevice <em>Device</em>}</li>
 * </ul>
 * </p>
 *
 * @see data.DataPackage#getDataLog()
 * @model
 * @generated
 */
public interface DataLog extends EObject {
	/**
	 * Returns the value of the '<em><b>Start Time</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Time</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Time</em>' attribute.
	 * @see #setStartTime(Date)
	 * @see data.DataPackage#getDataLog_StartTime()
	 * @model required="true" ordered="false"
	 * @generated
	 */
	Date getStartTime();

	/**
	 * Sets the value of the '{@link data.DataLog#getStartTime <em>Start Time</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Time</em>' attribute.
	 * @see #getStartTime()
	 * @generated
	 */
//	void setStartTime(Date value);

	/**
	 * Returns the value of the '<em><b>Data Samples</b></em>' containment reference list.
	 * The list contents are of type {@link data.DataSample}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Samples</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Samples</em>' containment reference list.
	 * @see data.DataPackage#getDataLog_DataSamples()
	 * @model containment="true" required="true" ordered="false"
	 * @generated
	 */
	EList<DataSample> getDataSamples();

	/**
	 * Returns the value of the '<em><b>Device</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Device</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Device</em>' reference.
	 * @see #setDevice(Device)
	 * @see data.DataPackage#getDataLog_Device()
	 * @model required="true" ordered="false"
	 * @generated
	 */
	Device getDevice();

	/**
	 * Sets the value of the '{@link data.DataLog#getDevice <em>Device</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Device</em>' reference.
	 * @see #getDevice()
	 * @generated
	 */
	void setDevice(Device value);
	DataSample getMidpointSample(DataSample s0, DataSample s1);
	Date getEndTime();
	DataSample findNearestSample(DataSample ds);

} // DataLog
